// 订单相关
import request from "@/utils/request";

// 订单列表
export function getListApi(data) {
  return request({
    url: "/api/order.product/getList",
    method: "post",
    data,
  });
}

export function getTypeListApi(data) {
  return request({
    url: "/api/order.product/getTypeList",
    method: "post",
    data,
  });
}

export function appendServiceApi(data) {
  return request({
    url: "/api/order.product/create",
    method: "post",
    data,
  });
}

export function updateServiceApi(data) {
  return request({
    url: "/api/order.product/update",
    method: "post",
    data,
  });
}